package com.brillilab.domain.po.method;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author wuzhiyu
 * @Title: MethodShare
 * @ProjectName brill_lab
 * @Description: TODO
 * @date 2019/2/2314:01
 */
@Data
@TableName("method_share")
public class MethodShare {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long methodId;
    private Long shareMemberId;
    private Long receiveMemberId;
    private Date shareTime;
    private Integer state;
    private Date createTime;
    private Date updateTime;
    
    /**
	 * 一级类型ID
	 */
    @TableField(exist = false)
	private Long firstTypeId;
    /**
	 * 调用次数
	 */
    @TableField(exist = false)
	private int exportCount;
	/**
	 * 成功次数
	 */
    @TableField(exist = false)
	private int successCount;
	/**
	 * 成功率
	 */
    @TableField(exist = false)
	private BigDecimal successRate;
    /**
     * 接收人姓名
     */
    @TableField(exist = false)
    private String receiverName;
}
